﻿@model IEnumerable<FilStartUps_Mobile.Models.ForumMessageDisplay>
@{
    ViewBag.Title = "ThreadReply";
}
<h2>
    ThreadReply</h2>
<table>
    <tr>
        <td colspan="2">
            Subject: @ViewBag.Subject
        </td>
    </tr>
    <tr>
        <td>
            Message:
        </td>
        <td>
            <textarea rows="10" cols="40" id="msg" name="msg"></textarea>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <input type="submit" id="submit" value="Submit" />
        </td>
    </tr>
</table>
<br />
<div class="content-primary">
    <ul data-role="listview">
        @foreach (var item in Model)
        {
            <li data-role="list-divider">@item.dateposted<span class="ui-li-count">@item.email</span></li>
            <li>@Html.Raw(item.message)</li>
      
        }
    </ul>
</div>
